package com.vaadin.demo.jsdemo;

import javax.servlet.annotation.WebServlet;

import com.vaadin.annotations.VaadinServletConfiguration;
import com.vaadin.server.VaadinRequest;
import com.vaadin.server.VaadinServlet;
import com.vaadin.ui.UI;

public class JsDemoUI extends UI {
    @WebServlet(value = { "/jsdemo/*", "/VAADIN/*" }, asyncSupported = true)
    @VaadinServletConfiguration(productionMode = false, ui = JsDemoUI.class, widgetset = "com.vaadin.demo.AppWidgetSet")
    public static class Servlets extends VaadinServlet {
    }

    @Override
    protected void init(VaadinRequest request) {
        setContent(new MyView());
    }
}
